<!DOCTYPE HTML >
<html>
<head>
	<script>
		function test(){
			alert("abc");
		}
	</script>
</head>

<body >
	<button type="button" value="test" 
    style="width:100%; height:30px" onClick="test()">test</button>	
</body>
</html>
